/*jslint browser: true, unparam: true, todo: true*/
/*globals define: true, MutationObserver: false, requestAnimationFrame: false, performance: false, btoa: false*/

'use strict';
export default function (self) {
  self.defaults = {
    attributes: [
      ['allowColumnReordering', true],
      ['allowColumnResize', true],
      ['allowColumnResizeFromCell', false],
      ['allowFreezingRows', false],
      ['allowFreezingColumns', false],
      ['allowMovingSelection', true],
      ['allowRowHeaderResize', true],
      ['allowRowReordering', false],
      ['allowRowResize', true],
      ['allowRowResizeFromCell', false],
      ['allowSorting', true],
      ['autoGenerateSchema', false],
      ['autoResizeColumns', false],
      ['autoResizeRows', false],
      ['blanksText', '(Blanks)'],
      ['borderDragBehavior', 'none'],
      ['borderResizeZone', 10],
      ['clearSettingsOptionText', 'Clear saved settings'],
      ['columnHeaderClickBehavior', 'sort'],
      ['columnSelectorHiddenText', '&nbsp;&nbsp;&nbsp;'],
      ['columnSelectorText', 'Add/Remove columns'],
      ['columnSelectorVisibleText', '\u2713'],
      ['contextHoverScrollAmount', 2],
      ['contextHoverScrollRateMs', 5],
      ['copyHeadersOnSelectAll', true],
      ['copyText', 'Copy'],
      ['debug', false],
      ['editable', true],
      ['ellipsisText', '...'],
      ['filterOptionText', 'Filter %s'],
      ['filterTextPrefix', '(filtered) '],
      ['globalRowResize', false],
      ['hideColumnText', 'Hide %s'],
      ['hoverMode', 'cell'],
      ['maxAutoCompleteItems', 200],
      ['multiLine', false],
      ['name', ''],
      ['pageUpDownOverlap', 1],
      ['pasteText', 'Paste'],
      ['persistantSelectionMode', false],
      ['removeFilterOptionText', 'Remove filter on %s'],
      ['reorderDeadZone', 3],
      ['resizeScrollZone', 20],
      ['rowGrabZoneSize', 5],
      ['saveAppearance', true],
      ['scrollAnimationPPSThreshold', 0.75],
      ['scrollPointerLock', false],
      ['scrollRepeatRate', 75],
      ['selectionFollowsActiveCell', false],
      ['selectionHandleBehavior', 'none'],
      ['selectionMode', 'cell'],
      ['selectionScrollIncrement', 20],
      ['selectionScrollZone', 20],
      ['showClearSettingsOption', true],
      ['showColumnHeaders', true],
      ['showColumnSelector', true],
      ['showCopy', false],
      ['showFilter', true],
      ['showNewRow', false],
      ['showOrderByOption', true],
      ['showOrderByOptionTextAsc', 'Order by %s ascending'],
      ['showOrderByOptionTextDesc', 'Order by %s descending'],
      ['showPaste', false],
      ['showPerformance', false],
      ['showRowHeaders', true],
      ['showRowNumbers', true],
      ['showRowNumberGaps', true],
      ['singleSelectionMode', false],
      ['snapToRow', false],
      ['touchContextMenuTimeMs', 800],
      ['touchDeadZone', 3],
      ['touchEasingMethod', 'easeOutQuad'],
      ['touchReleaseAcceleration', 1000],
      ['touchReleaseAnimationDurationMs', 2000],
      ['touchScrollZone', 20],
      ['touchSelectHandleZone', 20],
      ['touchZoomSensitivity', 0.005],
      ['touchZoomMin', 0.5],
      ['touchZoomMax', 1.75],
      ['maxPixelRatio', 2],
      ['tree', false],
      ['treeHorizontalScroll', false],
    ],
    styles: [
      ['activeCellBackgroundColor', 'rgba(255, 255, 255, 1)'],
      ['activeCellBorderColor', 'rgba(110, 168, 255, 1)'],
      ['activeCellBorderWidth', 1],
      ['activeCellColor', 'rgba(0, 0, 0, 1)'],
      ['activeCellFont', '16px sans-serif'],
      ['activeCellHoverBackgroundColor', 'rgba(255, 255, 255, 1)'],
      ['activeCellHorizontalAlignment', 'left'],
      ['activeCellHoverColor', 'rgba(0, 0, 0, 1)'],
      ['activeCellOverlayBorderColor', 'rgba(66, 133, 244, 1)'],
      ['activeCellOverlayBorderWidth', 1],
      ['activeCellPaddingBottom', 5],
      ['activeCellPaddingLeft', 5],
      ['activeCellPaddingRight', 5],
      ['activeCellPaddingTop', 5],
      ['activeCellSelectedBackgroundColor', 'rgba(236, 243, 255, 1)'],
      ['activeCellSelectedColor', 'rgba(0, 0, 0, 1)'],
      ['activeCellVerticalAlignment', 'center'],
      ['activeColumnHeaderCellBackgroundColor', 'rgba(225, 225, 225, 1)'],
      ['activeColumnHeaderCellColor', 'rgba(0, 0, 0, 1)'],
      ['activeRowHeaderCellBackgroundColor', 'rgba(225, 225, 225, 1)'],
      ['activeRowHeaderCellColor', 'rgba(0, 0, 0, 1)'],
      ['autocompleteBottomMargin', 60],
      ['autosizeHeaderCellPadding', 8],
      ['autosizePadding', 5],
      ['cellAutoResizePadding', 13],
      ['cellBackgroundColor', 'rgba(255, 255, 255, 1)'],
      ['cellBorderColor', 'rgba(195, 199, 202, 1)'],
      ['cellBorderWidth', 1],
      ['cellColor', 'rgba(0, 0, 0, 1)'],
      ['cellFont', '16px sans-serif'],
      ['cellGridHeight', 250],
      ['cellHeight', 24],
      ['cellHeightWithChildGrid', 150],
      ['cellHorizontalAlignment', 'left'],
      ['cellHoverBackgroundColor', 'rgba(255, 255, 255, 1)'],
      ['cellHoverColor', 'rgba(0, 0, 0, 1)'],
      ['cellPaddingBottom', 5],
      ['cellPaddingLeft', 5],
      ['cellPaddingRight', 5],
      ['cellPaddingTop', 5],
      ['cellSelectedBackgroundColor', 'rgba(236, 243, 255, 1)'],
      ['cellSelectedColor', 'rgba(0, 0, 0, 1)'],
      ['cellVerticalAlignment', 'center'],
      ['cellWidth', 250],
      ['cellWidthWithChildGrid', 250],
      ['cellWhiteSpace', 'nowrap'],
      ['cellLineHeight', 1],
      ['cellLineSpacing', 3],
      ['childContextMenuArrowColor', 'rgba(43, 48, 43, 1)'],
      ['childContextMenuArrowHTML', '&#x25BA;'],
      ['childContextMenuMarginLeft', -11],
      ['childContextMenuMarginTop', -6],
      ['columnHeaderCellBackgroundColor', 'rgba(240, 240, 240, 1)'],
      ['columnHeaderCellBorderColor', 'rgba(172, 172, 172, 1)'],
      ['columnHeaderCellBorderWidth', 1],
      ['columnHeaderCellCapBackgroundColor', 'rgba(240, 240, 240, 1)'],
      ['columnHeaderCellCapBorderColor', 'rgba(172, 172, 172, 1)'],
      ['columnHeaderCellCapBorderWidth', 1],
      ['columnHeaderCellColor', 'rgba(50, 50, 50, 1)'],
      ['columnHeaderCellFont', '16px sans-serif'],
      ['columnHeaderCellHeight', 25],
      ['columnHeaderCellHorizontalAlignment', 'left'],
      ['columnHeaderCellHoverBackgroundColor', 'rgba(235, 235, 235, 1)'],
      ['columnHeaderCellHoverColor', 'rgba(0, 0, 0, 1)'],
      ['columnHeaderCellPaddingBottom', 5],
      ['columnHeaderCellPaddingLeft', 5],
      ['columnHeaderCellPaddingRight', 5],
      ['columnHeaderCellPaddingTop', 5],
      ['columnHeaderCellVerticalAlignment', 'center'],
      ['columnHeaderOrderByArrowBorderColor', 'rgba(195, 199, 202, 1)'],
      ['columnHeaderOrderByArrowBorderWidth', 1],
      ['columnHeaderOrderByArrowColor', 'rgba(155, 155, 155, 1)'],
      ['columnHeaderOrderByArrowHeight', 8],
      ['columnHeaderOrderByArrowMarginLeft', 0],
      ['columnHeaderOrderByArrowMarginRight', 5],
      ['columnHeaderOrderByArrowMarginTop', 6],
      ['columnHeaderOrderByArrowWidth', 13],
      ['contextFilterButtonBorder', 'solid 1px rgba(158, 163, 169, 1)'],
      ['contextFilterButtonBorderRadius', '3px'],
      ['contextFilterButtonHTML', '&#x25BC;'],
      ['contextFilterInputBackground', 'rgba(255,255,255,1)'],
      ['contextFilterInputBorder', 'solid 1px rgba(158, 163, 169, 1)'],
      ['contextFilterInputBorderRadius', '0'],
      ['contextFilterInputColor', 'rgba(0,0,0,1)'],
      ['contextFilterInputFontFamily', 'sans-serif'],
      ['contextFilterInputFontSize', '14px'],
      ['contextFilterInvalidRegExpBackground', 'rgba(180, 6, 1, 1)'],
      ['contextFilterInvalidRegExpColor', 'rgba(255, 255, 255, 1)'],
      ['contextMenuArrowColor', 'rgba(43, 48, 43, 1)'],
      ['contextMenuArrowDownHTML', '&#x25BC;'],
      ['contextMenuArrowUpHTML', '&#x25B2;'],
      ['contextMenuBackground', 'rgba(240, 240, 240, 1)'],
      ['contextMenuBorder', 'solid 1px rgba(158, 163, 169, 1)'],
      ['contextMenuBorderRadius', '3px'],
      ['contextMenuChildArrowFontSize', '12px'],
      ['contextMenuColor', 'rgba(43, 48, 43, 1)'],
      ['contextMenuCursor', 'default'],
      ['contextMenuFilterButtonFontFamily', 'sans-serif'],
      ['contextMenuFilterButtonFontSize', '10px'],
      ['contextMenuFilterInvalidExpresion', 'rgba(237, 155, 156, 1)'],
      ['contextMenuFontFamily', 'sans-serif'],
      ['contextMenuFontSize', '16px'],
      ['contextMenuHoverBackground', 'rgba(182, 205, 250, 1)'],
      ['contextMenuHoverColor', 'rgba(43, 48, 153, 1)'],
      ['contextMenuItemBorderRadius', '3px'],
      ['contextMenuItemMargin', '2px'],
      ['contextMenuLabelDisplay', 'inline-block'],
      ['contextMenuLabelMargin', '0 3px 0 0'],
      ['contextMenuLabelMaxWidth', '700px'],
      ['contextMenuLabelMinWidth', '75px'],
      ['contextMenuMarginLeft', 3],
      ['contextMenuMarginTop', -3],
      ['contextMenuOpacity', '0.98'],
      ['contextMenuPadding', '2px'],
      ['contextMenuWindowMargin', 30],
      ['contextMenuZIndex', 10000],
      ['cornerCellBackgroundColor', 'rgba(240, 240, 240, 1)'],
      ['cornerCellBorderColor', 'rgba(202, 202, 202, 1)'],
      ['debugBackgroundColor', 'rgba(0, 0, 0, .0)'],
      ['debugColor', 'rgba(255, 15, 24, 1)'],
      ['debugEntitiesColor', 'rgba(76, 231, 239, 1.00)'],
      ['debugFont', '11px sans-serif'],
      ['debugPerfChartBackground', 'rgba(29, 25, 26, 1.00)'],
      ['debugPerfChartTextColor', 'rgba(255, 255, 255, 0.8)'],
      ['debugPerformanceColor', 'rgba(252, 255, 37, 1.00)'],
      ['debugScrollHeightColor', 'rgba(248, 33, 103, 1.00)'],
      ['debugScrollWidthColor', 'rgba(66, 255, 27, 1.00)'],
      ['debugTouchPPSXColor', 'rgba(246, 102, 24, 1.00)'],
      ['debugTouchPPSYColor', 'rgba(186, 0, 255, 1.00)'],
      ['display', 'inline-block'],
      ['editCellBackgroundColor', 'white'],
      ['editCellBorder', 'solid 1px rgba(110, 168, 255, 1)'],
      ['editCellBoxShadow', '0 2px 5px rgba(0,0,0,0.4)'],
      ['editCellColor', 'black'],
      ['editCellFontFamily', 'sans-serif'],
      ['editCellFontSize', '16px'],
      ['editCellPaddingLeft', 4],
      ['editCellZIndex', 10000],
      ['frozenMarkerHoverColor', 'rgba(236, 243, 255, 1)'],
      ['frozenMarkerHoverBorderColor', 'rgba(110, 168, 255, 1)'],
      ['frozenMarkerActiveColor', 'rgba(236, 243, 255, 1)'],
      ['frozenMarkerActiveBorderColor', 'rgba(110, 168, 255, 1)'],
      ['frozenMarkerColor', 'rgba(222, 222, 222, 1)'],
      ['frozenMarkerBorderColor', 'rgba(168, 168, 168, 1)'],
      ['frozenMarkerBorderWidth', 1],
      ['frozenMarkerWidth', 2],
      ['gridBackgroundColor', 'rgba(240, 240, 240, 1)'],
      ['gridBorderCollapse', 'collapse'],
      ['gridBorderColor', 'rgba(202, 202, 202, 1)'],
      ['gridBorderWidth', 1],
      ['height', 'auto'],
      ['maxHeight', 'inherit'],
      ['maxWidth', 'inherit'],
      ['minColumnWidth', 45],
      ['minHeight', 'inherit'],
      ['minRowHeight', 24],
      ['minWidth', 'inherit'],
      ['mobileContextMenuMargin', 10],
      ['mobileEditInputHeight', 30],
      ['mobileEditFontFamily', 'sans-serif'],
      ['mobileEditFontSize', '16px'],
      ['moveOverlayBorderWidth', 1],
      ['moveOverlayBorderColor', 'rgba(66, 133, 244, 1)'],
      ['moveOverlayBorderSegments', '12, 7'],
      ['name', 'default'],
      ['overflowY', 'auto'],
      ['overflowX', 'auto'],
      ['reorderMarkerBackgroundColor', 'rgba(0, 0, 0, 0.1)'],
      ['reorderMarkerBorderColor', 'rgba(0, 0, 0, 0.2)'],
      ['reorderMarkerBorderWidth', 1.25],
      ['reorderMarkerIndexBorderColor', 'rgba(66, 133, 244, 1)'],
      ['reorderMarkerIndexBorderWidth', 2.75],
      ['rowHeaderCellBackgroundColor', 'rgba(240, 240, 240, 1)'],
      ['rowHeaderCellBorderColor', 'rgba(200, 200, 200, 1)'],
      ['rowHeaderCellBorderWidth', 1],
      ['rowHeaderCellColor', 'rgba(50, 50, 50, 1)'],
      ['rowHeaderCellFont', '16px sans-serif'],
      ['rowHeaderCellHeight', 25],
      ['rowHeaderCellHorizontalAlignment', 'left'],
      ['rowHeaderCellHoverBackgroundColor', 'rgba(235, 235, 235, 1)'],
      ['rowHeaderCellHoverColor', 'rgba(0, 0, 0, 1)'],
      ['rowHeaderCellPaddingBottom', 5],
      ['rowHeaderCellPaddingLeft', 5],
      ['rowHeaderCellPaddingRight', 5],
      ['rowHeaderCellPaddingTop', 5],
      ['rowHeaderCellRowNumberGapHeight', 5],
      ['rowHeaderCellRowNumberGapColor', 'rgba(50, 50, 50, 1)'],
      ['rowHeaderCellSelectedBackgroundColor', 'rgba(217, 217, 217, 1)'],
      ['rowHeaderCellSelectedColor', 'rgba(50, 50, 50, 1)'],
      ['rowHeaderCellVerticalAlignment', 'center'],
      ['rowHeaderCellWidth', 57],
      ['scrollBarActiveColor', 'rgba(125, 125, 125, 1)'],
      ['scrollBarBackgroundColor', 'rgba(240, 240, 240, 1)'],
      ['scrollBarBorderColor', 'rgba(202, 202, 202, 1)'],
      ['scrollBarBorderWidth', 0.5],
      ['scrollBarBoxBorderRadius', 4.125],
      ['scrollBarBoxColor', 'rgba(192, 192, 192, 1)'],
      ['scrollBarBoxMargin', 2],
      ['scrollBarBoxMinSize', 15],
      ['scrollBarBoxWidth', 8],
      ['scrollBarCornerBackgroundColor', 'rgba(240, 240, 240, 1)'],
      ['scrollBarCornerBorderColor', 'rgba(202, 202, 202, 1)'],
      ['scrollBarWidth', 11],
      ['selectionHandleBorderColor', 'rgba(255, 255, 255, 1)'],
      ['selectionHandleBorderWidth', 1.5],
      ['selectionHandleColor', 'rgba(66, 133, 244, 1)'],
      ['selectionHandleSize', 8],
      ['selectionHandleType', 'square'],
      ['selectionOverlayBorderColor', 'rgba(66, 133, 244, 1)'],
      ['selectionOverlayBorderWidth', 1],
      ['treeArrowBorderColor', 'rgba(195, 199, 202, 1)'],
      ['treeArrowBorderWidth', 1],
      ['treeArrowClickRadius', 5],
      ['treeArrowColor', 'rgba(155, 155, 155, 1)'],
      ['treeArrowHeight', 8],
      ['treeArrowMarginLeft', 0],
      ['treeArrowMarginRight', 5],
      ['treeArrowMarginTop', 6],
      ['treeArrowWidth', 13],
      ['treeGridHeight', 250],
      ['width', 'auto'],
    ],
  };
}
